

#if !defined(FastsqlException_HEADER_H)
#define FastsqlException_HEADER_H


#include <exception>
#include <string>
#include <memory>
#include "../utils/common_ptr.h"

class FastsqlException : public std::exception
{
public:
  FastsqlException() throw();
  FastsqlException(string_ptr msg) throw();
  virtual const char *what() const throw();
  virtual ~FastsqlException() throw();

protected:
  string_ptr m_msg;
};

#endif
